<?php
	('Access-Control-Allow-Origin：*');
	include("../mysql.php");
	$id = $_POST["id"];
    $name = $_POST["name"];
	$money = $_POST["money"];
	$peopleName = $_POST["peopleName"];
	$agree = $_POST["agree"];
	$reason= $_POST["reason"];
	$time = $_POST["time"];
	$db = new mysql();

	$sql = "update output set name='{$name}',money='{$money}',peopleName='{$peopleName}',agree='{$agree}',reason='{$reason}',time='{$time}'  where id = '{$id}'";

	echo $db->Query($sql);
	$db->close();
?>